this._hold.release();
this._queueMessage(_("Authentication error"), MessageType.ERROR);
+ this._failCounter++;
this._verificationFailed(serviceName, false);
}
// Otherwise, when in login mode we allow ALLOWED_FAILURES attempts.
// After that, we go back to the welcome screen.
- this._failCounter++;
let canRetry = retry && this._userName &&
(this._reauthOnly ||
this._failCounter < this._settings.get_int(ALLOWED_FAILURES_KEY));
// if the password service fails, then cancel everything.
// But if, e.g., fingerprint fails, still give
// password authentication a chance to succeed
- if (this.serviceIsForeground(serviceName))
+ if (this.serviceIsForeground(serviceName)) {
+ this._failCounter++;
this._verificationFailed(serviceName, true);
+ }
}
};
Signals.addSignalMethods(ShellUserVerifier.prototype);